package model.domain;

import java.util.ArrayList;
import java.util.List;

public class Category {

	public Category(String name, List<Category> child, boolean isRoot) {
		super();
		this.name = name;
		this.child = child;
		this.isRoot = isRoot;
	}

	private String name;

	private List<Category> child = new ArrayList<Category>();

	private Boolean isRoot;

	private List<Integer> listPrices = new ArrayList<Integer>();

	public List<Integer> getListPrices() {
		return listPrices;
	}

	public void setListPrices(List<Integer> listPrices) {
		this.listPrices = listPrices;
	}

	public Boolean isRoot() {
		return isRoot;
	}

	public void setIsRoot(Boolean isRoot) {
		this.isRoot = isRoot;
	}

	public List<Category> getChild() {
		return child;
	}

	public void setChild(List<Category> child) {
		this.child = child;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

}
